package com.sixdog.regulate.service;

import com.sixdog.regulate.bean.Activity;
import com.sixdog.regulate.bean.CmdResult;
import com.sixdog.regulate.utils.RegexUtil;

public interface ActivityService {
    //打开开放的Activity
    public CmdResult openActivity(String deviceSerial, Activity activity, String ...param);
    //以最高权限打开Activity（需要手机root)
    public CmdResult openActivityHighAuthority(String deviceSerial,Activity activity);
    //捕获当前的Activity(需保持设备屏幕解锁)
    public Activity captureActivity(String deviceSerial);
    //刷新当前Activity
    public CmdResult refreshActivity(String deviceSerial);
    //禁用应用程序
    public CmdResult disablePackage(String deviceSerial,String userId,String packageName);
    //启用应用程序（注意：启用不是打开）
    public CmdResult enablePackage(String deviceSerial,String userId,String packageName);

}
